package com.ruoyi.event.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 用户定位对象 event_pos
 *
 * @author strongme
 * @date 2023-04-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("event_pos")
public class EventPos extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 吸毒人员Id
     */
    private Long userId;
    /**
     * 经度
     */
    private BigDecimal lng;
    /**
     * 纬度
     */
    private BigDecimal lat;

    private String address;

}
